package com.fastshopping.order.service;

import com.fastshopping.order.pojo.Account;

import java.util.List;
import java.util.Map;

public interface AccountService {

    //查询所有
    List<Account> findAll();

    /*
     * @Author zhangdan
     * @Description //TODO 根据id查询账户信息
     * @Date 18:36 2020/6/5
     * @Param [id]
     * @return com.fastshopping.order.pojo.Account
     **/
    Account findById(int id);


    /*
     * @Author zhangdan
     * @Description //TODO 根据id查询账户明细
     * @Date 18:37 2020/6/5
     * @Param [id]
     * @return java.util.Map<java.lang.String,java.lang.Object>
     **/
    List<Map> findDetailById(int id);
}
